home *** CD-ROM | disk | FTP | other *** search
- /***************************************************************************/
- /* DDMComment v1.05 by DarkElf (11.01.95) */
- /* You are not allowed to chance ANYTHING from this little program! */
- /***************************************************************************/
-
- parse arg node
- Options results
- nodeid = "DREAMREXX"node
- address value nodeid
-
- signal on error
- signal on ioerr
- signal on syntax
-
- VER = 'v1.o5'
- tr = transmit
- SYSTEMINFO 3
- argus = result
- GETUSER 22
- axxut = result
- if axxut = 5 then do
- ddcommand "E SYSOP"
- SHUTDOWN
- EXIT
- end
- if ~exists("ENV:DreamUtils") then call ENDO
- call open(DU,"ENV:DreamUtils",'R')
- do
- DreUti=ReadLn(DU)
- end
- call Close(DU)
- if ~exists(''DreUti'DDMComment.Config') then call make
- confikki:
- call open(CFG,''DreUti'DDMComment.Config','R')
- do
- max = STRIP(readln(CFG))
- name1 = STRIP(readln(CFG))
- name2 = STRIP(readln(CFG))
- name3 = STRIP(readln(CFG))
- name4 = STRIP(readln(CFG))
- name5 = STRIP(readln(CFG))
- name6 = STRIP(readln(CFG))
- name7 = STRIP(readln(CFG))
- name8 = STRIP(readln(CFG))
- name9 = STRIP(readln(CFG))
- name10 = STRIP(readln(CFG))
- org1 = STRIP(readln(CFG))
- org2 = STRIP(readln(CFG))
- org3 = STRIP(readln(CFG))
- org4 = STRIP(readln(CFG))
- org5 = STRIP(readln(CFG))
- org6 = STRIP(readln(CFG))
- org7 = STRIP(readln(CFG))
- org8 = STRIP(readln(CFG))
- org9 = STRIP(readln(CFG))
- org10 = STRIP(readln(CFG))
- end
- call Close(CFG)
- prestart:
- if argus = 'RESULT' | argus = '0' | argus > max then call StART
- if datatype(''argus'') ~= 'NUM' then call StART
- if datatype(''argus'') = 'NUM' then do
- numba = argus
- call dadaa
- end
- StART:
- newline
- newline
- tr " "
- tr " DD-MultiComment Door "VER" (c)'95 /)arkElf / sUPREME - oUTlOOK by zEUs / DNt "
- newline
- if max >= 1 then do
- nam1st = SUBSTR(""name1"",1,17,' ')
- org1st = SUBSTR(""org1"",1,30,' ')
- tr '1) 'nam1st' - 'org1st''
- end
- else call loppurivi
- if max >= 2 then do
- nam2nd = SUBSTR(""name2"",1,17,' ')
- org2nd = SUBSTR(""org2"",1,30,' ')
- tr '2) 'nam2nd' - 'org2nd''
- end
- else call loppurivi
- if max >= 3 then do
- nam3rd = SUBSTR(""name3"",1,17,' ')
- org3rd = SUBSTR(""org3"",1,30,' ')
- tr '3) 'nam3rd' - 'org3rd''
- end
- else call loppurivi
- if max >= 4 then do
- nam4th = SUBSTR(""name4"",1,17,' ')
- org4th = SUBSTR(""org4"",1,30,' ')
- tr '4) 'nam4th' - 'org4th''
- end
- else call loppurivi
- if max >= 5 then do
- nam5th = SUBSTR(""name5"",1,17,' ')
- org5th = SUBSTR(""org5"",1,30,' ')
- tr '5) 'nam5th' - 'org5th''
- end
- if max >= 6 then do
- nam6th = SUBSTR(""name6"",1,17,' ')
- org6th = SUBSTR(""org6"",1,30,' ')
- tr '6) 'nam6th' - 'org6th''
- end
- if max >= 7 then do
- nam7th = SUBSTR(""name7"",1,17,' ')
- org7th = SUBSTR(""org7"",1,30,' ')
- tr '7) 'nam7th' - 'org7th''
- end
- if max >= 8 then do
- nam8th = SUBSTR(""name8"",1,17,' ')
- org8th = SUBSTR(""org8"",1,30,' ')
- tr '8) 'nam8th' - 'org8th''
- end
- if max >= 9 then do
- nam9th = SUBSTR(""name9"",1,17,' ')
- org9th = SUBSTR(""org9"",1,30,' ')
- tr '9) 'nam9th' - 'org9th''
- end
- if max = 10 then do
- nam10th = SUBSTR(""name10"",1,16,' ')
- org10th = SUBSTR(""org10"",1,30,' ')
- tr '10) 'nam10th' - 'org10th''
- end
- loppurivi:
- tr " "
- tr " DD-MultiComment Door "VER" (c)'95 /)arkElf / sUPREME - oUTlOOK by zEUs / DNt "
- newline
- send 'Select Number :> '
- getchar
- numba = result
- dadaa:
- select
- when numba > max then call StART
- when numba = 1 then do
- if 'name1' = '-' then call StART
- ddcommand "E "name1""
- end
- when numba = 2 then do
- if 'name2' = '-' then call StART
- ddcommand "E "name2""
- end
- when numba = 3 then do
- if 'name3' = '-' then call StART
- ddcommand "E "name3""
- end
- when numba = 4 then do
- if 'name4' = '-' then call StART
- ddcommand "E "name4""
- end
- when numba = 5 then do
- if 'name5' = '-' then call StART
- ddcommand "E "name5""
- end
- when numba = 6 then do
- if 'name6' = '-' then call StART
- ddcommand "E "name6""
- end
- when numba = 7 then do
- if 'name7' = '-' then call StART
- ddcommand "E "name7""
- end
- when numba = 8 then do
- if 'name8' = '-' then call StART
- ddcommand "E "name8""
- end
- when numba = 9 then do
- if 'name9' = '-' then call StART
- ddcommand "E "name9""
- end
- when numba = 10 then do
- if 'name10' = '-' then call StART
- ddcommand "E "name10""
- end
- when numba = result then do
- send 'EXIT!'
- call FuckingEND
- end
- otherwise call StART
- end
-
- IOERR:
- ERROR:
- SYNTAX:
- FuckingEND:
- newline
- newline
-
- ENDO:
- SHUTDOWN
- EXIT
-
- MAKE:
- do
- address command 'echo > 'DreUti'DDMComment.Config'
- call open file, ''DreUti'DDMComment.Config','W'
- call writeln file, "1"
- call writeln file, "DarkElf"
- call writeln file, "-"
- call writeln file, "-"
- call writeln file, "-"
- call writeln file, "-"
- call writeln file, "-"
- call writeln file, "-"
- call writeln file, "-"
- call writeln file, "-"
- call writeln file, "-"
- call writeln file, "The ChameLeoN ^ sUPREME"
- call writeln file, "-"
- call writeln file, "-"
- call writeln file, "-"
- call writeln file, "-"
- call writeln file, "-"
- call writeln file, "-"
- call writeln file, "-"
- call writeln file, "-"
- call writeln file, "-"
- call writeln file, ";Number of comment readers (10=max"
- call writeln file, ";Name of the 1st comment reader"
- call writeln file, ";Name of the 2nd comment reader"
- call writeln file, ";Name of the 3rd comment reader"
- call writeln file, ";Name of the 4th comment reader"
- call writeln file, ";Name of the 5th comment reader"
- call writeln file, ";Name of the 6th comment reader"
- call writeln file, ";Name of the 7th comment reader"
- call writeln file, ";Name of the 8th comment reader"
- call writeln file, ";Name of the 9th comment reader"
- call writeln file, ";Name of the 10th comment reader"
- call writeln file, ";Organization of the 1st comment reader"
- call writeln file, ";Organization of the 2nd comment reader"
- call writeln file, ";Organization of the 3rd comment reader"
- call writeln file, ";Organization of the 4th comment reader"
- call writeln file, ";Organization of the 5th comment reader"
- call writeln file, ";Organization of the 6th comment reader"
- call writeln file, ";Organization of the 7th comment reader"
- call writeln file, ";Organization of the 8th comment reader"
- call writeln file, ";Organization of the 9th comment reader"
- call writeln file, ";Organization of the 10th comment reader"
- call close file
- call confikki
- end
-